package com.springboot.common.utils.netty;

import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

/**
 * @Author ifredomvip@gmail.com
 * @Date 2022/5/20 14:59
 * @Version 1.0.0
 * @Description
 **/

/**
 * @author lilinshen * @title 存储工厂的全局配置  * @description 请填写相关描述  * @date 2018/5/23 10:32
 */
public class NettyConfig {
    /**
     * 储存每一个客户端进来时的 channel 对象
     */
    public static ChannelGroup channelGroup = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);
}
